package org.ceteca.explica.server.util.db;

import java.util.LinkedList;

import org.hibernate.criterion.Criterion;

public class CriteriaQueue {
	private LinkedList<Criterion> queue;
	private String logicOp;
	
	public CriteriaQueue() {
		this(null);
	}
	
	public CriteriaQueue(String logicOp) {
		this.logicOp = logicOp;
		this.queue = new LinkedList<Criterion>();
	}
	
	public String getLogicOp() {
		return logicOp;
	}
	public void setLogicOp(String logicOp) {
		this.logicOp = logicOp;
	}
	public LinkedList<Criterion> getQueue() {
		return queue;
	}
	public void setQueue(LinkedList<Criterion> queue) {
		this.queue = queue;
	}
}
